package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Admin;
import com.example.entity.Audit;
import com.example.entity.Params;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AuditMapper extends BaseMapper<Audit> {

    List<Audit> getUsers();

    List<Audit> findBySearch(@Param("params") Params params);

    Audit findUserByName(@Param("name") String name);
}
